package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_goddess_color_stone", desc = "女娲活动五彩石", autoSave = true)
public class LogGoddessColorStone {

    @FieldTypeAnnotation(desc = "用户ID")
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID")
    private int activityId;
    @FieldTypeAnnotation(desc = "纪元")
    private int eraId;
    @FieldTypeAnnotation(desc = "几重天")
    private int missionId;
    @FieldTypeAnnotation(desc = "途径：1 造人获得；2 洗练消耗 ； 3  洗练变更 ； 4  补天消耗")
    private int wayType;
    @FieldTypeAnnotation(desc = "石头等级")
    private String stoneId;
    @FieldTypeAnnotation(desc = "石头点数")
    private String stonePoint;
    @FieldTypeAnnotation(desc = "时间")
    private Date time;

    public LogGoddessColorStone(long userId, int activityId, int eraId, int missionId, int wayType, String stoneId, String stonePoint) {
        this.userId = userId;
        this.activityId = activityId;
        this.eraId = eraId;
        this.missionId = missionId;
        this.wayType = wayType;
        this.stoneId = stoneId;
        this.stonePoint = stonePoint;
        this.time = new Date();
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getEraId() {
        return eraId;
    }

    public void setEraId(int eraId) {
        this.eraId = eraId;
    }

    public int getMissionId() {
        return missionId;
    }

    public void setMissionId(int missionId) {
        this.missionId = missionId;
    }

    public int getWayType() {
        return wayType;
    }

    public void setWayType(int wayType) {
        this.wayType = wayType;
    }

    public String getStoneId() {
        return stoneId;
    }

    public void setStoneId(String stoneId) {
        this.stoneId = stoneId;
    }

    public String getStonePoint() {
        return stonePoint;
    }

    public void setStonePoint(String stonePoint) {
        this.stonePoint = stonePoint;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
